package com.ky.pro.java.sharding.ecommerce.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 商品类目表
 * </p>
 *
 * @author Kevin Dummy
 * @since 2021-12-18
 */
@Getter
@Setter
@TableName("t_com_category")
@ApiModel(value = "ComCategory对象", description = "商品类目表")
public class ComCategory implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("类目ID")
    private Long id;

    @ApiModelProperty("类目编码")
    private String catCode;

    @ApiModelProperty("类目名称")
    private String catName;

    @ApiModelProperty("节点层级")
    private Integer catHierachy;

    @ApiModelProperty("父类目ID")
    private Long catParentId;

    @ApiModelProperty("排序")
    private Integer catSort;

    @ApiModelProperty("删除标志")
    private Boolean delStatus;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("版本号")
    private Integer version;


}
